#ifndef _physicsplane_h_included_
#define _physicsplane_h_included_
#include <d3dx9.h>
#include <d3d9.h>
#include "DXUtil.h"
#include "ModelPrimitive.h"

class ModelPrimitive;

//This is a class used to store the sphere(ball) information
class PhysicsPlane : public ModelPrimitive
{
private:

	float width, height;
	D3DXVECTOR3* normal;
	
public:

	PhysicsPlane(LPDIRECT3DDEVICE9 device, D3DXVECTOR3 pPosition,  float width, float height, float depth, D3DXVECTOR3* normal);
	D3DXVECTOR3* GetNormal();
	void SetNormal(D3DXVECTOR3* pNormal)
	{
		normal = pNormal;
	}
};
#endif
